<%@page import="com.framework.entity.Global"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page import="com.biz.utils.ConfigUtil" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
    String resoursUrl = ConfigUtil.get("RESOURCES_URL");
%>

<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="UTF-8">
<title>首页</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<jsp:include page="/jsp/inc.jsp"></jsp:include>

</head>
<body>
<div class="introlie">
	<div class="single">
		<div class="introtitle" onclick="toDetail(1);">社区介绍</div>
	</div>
	<div class="single">
		<div class="introtitle" onclick="toDetail(2);">社区网格</div>
	</div>
	<div class="single">
		<div class="introtitle" onclick="toDetail(3);">社区动态</div>
	</div>
	<div class="single">
		<div class="introtitle" onclick="toDetail(4);">个人中心</div>
	</div>
	<div class="single">
		<div class="introtitle" onclick="toDetail(5);">商户平台</div>
	</div>
	<div class="single">
		<div class="introtitle" onclick="toDetail(6);">社区活动</div>
	</div>

</div>

<script>
	function toDetail(urlint){

        if(urlint==1)
        {
            window.location.href="${pageContext.request.contextPath}/community/toIntroduce.ac";
        }
        else if(urlint==2)
        {
            window.location.href="${pageContext.request.contextPath}/community/toIntroduce.ac";
        }
        else if(urlint==3)
        {
            window.location.href='${pageContext.request.contextPath}/community/toDynamic.ac';
        }
        else if(urlint==4)
        {
            window.location.href="${pageContext.request.contextPath}/userCenter/toUserCenter.ac?nowDateTime="+new Date().getTime();
        }
        else if(urlint==5)
        {
            window.location.href="${pageContext.request.contextPath}/merchant/toMerchantCenter.ac";
        }
        else if(urlint==6)
        {
            window.location.href="${pageContext.request.contextPath}/mebactivity/toMebactivityList.ac";
        }

	}

</script>
</body>
</html>
